import service from "../utils/request";
//------------------------工作台---------------------------------
//获取折线图数据
export function getLineList(payload = {}) {
    return service.get('/api/l-line', { params: payload })
}
//请求工作台表格数据
export function getList(payload = {}) {
    return service.get('/api/l-list', { params: payload })
}
//请求工作台待处理卡片
export function getWorkCardList(payload = {}) {
    return service.get('/api/l-workCard', { params: payload })
}


// --------------------------------【头部】-----------------------------------
// 头部消息列表
export function drawerServer(payload = {}){
    return service.get('/api/zserver', { params: payload })
}
// 头部系统通知列表
export function drawerSystem(payload = {}){
    return service.get('/api/zsystem',{ params: payload })
}


// --------------------------------下拉框列表----------------------------------
// 性别列表
export function sexList(payload = {}){
    return service.get('/api/zsex',{ params: payload })
}




// -------------------------------【我的资料】-----------------------------------
// 获取用户信息
export function getData(payload = {}){
    return service.get('/wfl/api/selectDoctorById',{ params: payload })
}
// 修改资料
export function getupdateData(payload = {}){
    return service.put('/wfl/api/updateDoctor', payload )
}
//修改密码 
export function updPassword(payload = {}) {
    return service.get('/wfl/api/updPassword', { params: payload })
}